package org.manager.units;

import java.io.Serializable;
import java.util.List;

import org.manager.generic.Repository.GenericRepository;

public interface SysUnitsRepository extends GenericRepository<SysUnits> {

	public List<SysUnits> findPageSysUnits(final SysUnits sysunit,
			final int start, final int limit);

	public int totalRecord(SysUnits sysunit);
	
	public List<SysUnits> findBySysUnits(final SysUnits sysunit);
	
	public SysUnits findSysUnitsByEntity(final String unitCode);
	
	public Serializable addSysUnits(SysUnits unit);
	
	public List<SysUnits> findAll();
}
